<HR WIDTH="100%"><P ALIGN="CENTER"><B>Conversation started on Mon Oct  2 14:47:37 2000 </B></P>
<P> <FONT COLOR="#ff0000"><B>14:47:37 Alan Leung: </B></FONT> i assume like this ? </P>
<P> <FONT COLOR="#0000ff"><B>14:48:13 int main: </B></FONT> Yup </P>
<P> <FONT COLOR="#ff0000"><B>14:48:48 Alan Leung: </B></FONT> ok.. i will check webfacts stuff. if the patch work right with webfacts. I will put it on production </P>
<P> <FONT COLOR="#0000ff"><B>14:49:17 int main: </B></FONT> Don't put it on production yet </P>
<P> <FONT COLOR="#0000ff"><B>14:49:37 int main: </B></FONT> We will run  tests to make sure there are no time delays, etc </P>
<P> <FONT COLOR="#ff0000"><B>14:49:40 Alan Leung: </B></FONT> ok.. it is on one of out production server.. i am testing it now </P>
<P> <FONT COLOR="#ff0000"><B>14:51:46 Alan Leung: </B></FONT> 208.133.204.230 - "Mozilla/4.61 [en] (X11; I; Linux 2.2.12-20 i686):208.133.204.230" 02/Oct/2000:18:31:47 +0000 "GET / 1.0" 302 299 "" "Mozilla/4.61 [en] (X11; I; Linux 2.2.12-20 i686)" ""<BR> </P>
<P> <FONT COLOR="#0000ff"><B>14:53:38 int main: </B></FONT> Seems correct
We will need to agree on "Apache-like" format afterwards, since we need additional info, like cookies, but that is just one line in config

Main point right now is to make sure this thing doesn't crash server, dont miss logs or don't slow down the cache by like 10 times </P>
<P> <FONT COLOR="#ff0000"><B>14:53:59 Alan Leung: </B></FONT> i know.. </P>
<P> <FONT COLOR="#ff0000"><B>14:54:24 Alan Leung: </B></FONT> actually we can try it on one server.. in case it crash.. we still have other cache server </P>
<P> <FONT COLOR="#0000ff"><B>14:56:10 int main: </B></FONT> Yup, we actually discussed with Robin Thomas the test environment

The thing I want to do the most is to profile it on real data. It's not supposed to crash, but I'm afraid it might make significant slowdown - shouldn't, but I still want to profile it </P>
<P> <FONT COLOR="#ff0000"><B>15:00:16 Alan Leung: </B></FONT> ok.. </P>
<P> <FONT COLOR="#ff0000"><B>15:00:31 Alan Leung: </B></FONT> i am using it now </P>
<P> <FONT COLOR="#0000ff"><B>15:00:45 int main: </B></FONT> Nothing wrong yet ? </P>
<P> <FONT COLOR="#ff0000"><B>15:00:56 Alan Leung: </B></FONT> 208.133.204.230 - "Mozilla/4.61 [en] (X11; I; Linux 2.2.12-20 i686):208.133.204.230" 02/Oct/2000:18:41:01 +0000 "GET / 1.0" 302 322 "" "Mozilla/4.61 [en] (X11; I; Linux 2.2.12-20 i686)" "SMQUID=208.133.204.230.2516967130061843; STRMGEO=.us.xx.; SMNGID=c0a86474-1417-970091755-3"<BR> </P>
<P> <FONT COLOR="#ff0000"><B>15:01:10 Alan Leung: </B></FONT> i set the ip of that server to be my cas-cache </P>
<P> <FONT COLOR="#ff0000"><B>15:01:49 Alan Leung: </B></FONT> i am testing it on cas-cache.  </P>
<P> <FONT COLOR="#0000ff"><B>15:01:57 int main: </B></FONT> Looks allright

That's weird - my program actually working ... </P>
<P> <FONT COLOR="#ff0000"><B>15:02:06 Alan Leung: </B></FONT> haha.. </P>
<P> <FONT COLOR="#ff0000"><B>15:02:11 Alan Leung: </B></FONT> is it suppose not working ? </P>
<P> <FONT COLOR="#0000ff"><B>15:02:39 int main: </B></FONT> Well, from my past experience with myself ... </P>
<P> <FONT COLOR="#ff0000"><B>15:02:51 Alan Leung: </B></FONT> :> you are improved :) </P>
<P> <FONT COLOR="#ff0000"><B>15:03:00 Alan Leung: </B></FONT> are u using linux ? </P>
<P> <FONT COLOR="#0000ff"><B>15:04:18 int main: </B></FONT> FreeBSD
Wanted linux, but my boss said BSD, so I just tossed the coin ...
It happened to be BSD. I it had landed on a side I'd be using NT ;-) </P>
<P> <FONT COLOR="#ff0000"><B>15:04:36 Alan Leung: </B></FONT> haha </P>
<P> <FONT COLOR="#ff0000"><B>15:04:49 Alan Leung: </B></FONT> hey put this on your /etc/hosts </P>
<P> <FONT COLOR="#ff0000"><B>15:04:55 Alan Leung: </B></FONT> 209.67.42.62    <A HREF="http://cas-cache.starmedia.com">cas-cache.starmedia.com</A> </P>
<P> <FONT COLOR="#ff0000"><B>15:05:09 Alan Leung: </B></FONT> you will using cas-cache5 for cas-cache..  </P>
<P> <FONT COLOR="#ff0000"><B>15:05:39 Alan Leung: </B></FONT> you can see tell if it is slow down or something.. b4 u start browsing our main site.. close all netscape first </P>
<P> <FONT COLOR="#0000ff"><B>15:06:11 int main: </B></FONT> Ok, now just go to <A HREF="http://starmedia.com">starmedia.com</A> ? </P>
<P> <FONT COLOR="#ff0000"><B>15:06:58 Alan Leung: </B></FONT> i go <A HREF="http://www.us.starmedia.com">www.us.starmedia.com</A> myself </P>
<P> <FONT COLOR="#ff0000"><B>15:08:16 Alan Leung: </B></FONT> are u hitting the site now ? </P>
<P> <FONT COLOR="#0000ff"><B>15:10:11 int main: </B></FONT> Aha </P>
<P> <FONT COLOR="#0000ff"><B>15:10:37 int main: </B></FONT> One thing that seems to be wrong is that it puts cookies on a new line </P>
<P> <FONT COLOR="#ff0000"><B>15:11:02 Alan Leung: </B></FONT> oh </P>
<P> <FONT COLOR="#0000ff"><B>15:11:24 int main: </B></FONT> Not cookies actually, webfacts sig </P>
<P> <FONT COLOR="#ff0000"><B>15:11:26 Alan Leung: </B></FONT> u know freebsd look for DNS first or hosts file first ? </P>
<P> <FONT COLOR="#ff0000"><B>15:11:33 Alan Leung: </B></FONT> yeah. that's web facts sig </P>
<P> <FONT COLOR="#ff0000"><B>15:11:52 Alan Leung: </B></FONT> ohh.. u are on cas-cache5 also :> </P>
<P> <FONT COLOR="#0000ff"><B>15:12:03 int main: </B></FONT> Logged as loguser </P>
<P> <FONT COLOR="#ff0000"><B>15:12:09 Alan Leung: </B></FONT> i can tell :> </P>
<P> <FONT COLOR="#ff0000"><B>15:12:36 Alan Leung: </B></FONT> ok.. i hit the site couple times </P>
<P> <FONT COLOR="#0000ff"><B>15:13:49 int main: </B></FONT> it seems webfacts appends in Squid's MB after newline </P>
<P> <FONT COLOR="#ff0000"><B>15:14:02 Alan Leung: </B></FONT> yeah..  </P>
<P> <FONT COLOR="#0000ff"><B>15:14:09 int main: </B></FONT> If I could see webfacts patch I'll fix it </P>
<P> <FONT COLOR="#ff0000"><B>15:14:17 Alan Leung: </B></FONT> cp the file to another file and see if it is really seprate line </P>
<P> <FONT COLOR="#0000ff"><B>15:14:33 int main: </B></FONT> tail -1 gives it as a separate line </P>
<P> <FONT COLOR="#ff0000"><B>15:14:43 Alan Leung: </B></FONT> yeah </P>
<P> <FONT COLOR="#ff0000"><B>15:15:45 Alan Leung: </B></FONT> webfacts only give binary.. i think </P>
<P> <FONT COLOR="#ff0000"><B>15:16:17 Alan Leung: </B></FONT> see if u can remove the tailing \n on your code ? </P>
<P> <FONT COLOR="#0000ff"><B>15:17:35 int main: </B></FONT> I could, but the orig. Squid also puts \n there
Maybe see if squid w/o that config line also does that </P>
<P> <FONT COLOR="#ff0000"><B>15:17:54 Alan Leung: </B></FONT> lemme check the old log </P>
<P> <FONT COLOR="#ff0000"><B>15:18:27 Alan Leung: </B></FONT> nope </P>
<P> <FONT COLOR="#ff0000"><B>15:18:40 Alan Leung: </B></FONT> ok.. lemme remote the config line </P>
<P> <FONT COLOR="#ff0000"><B>15:19:22 Alan Leung: </B></FONT> restarted </P>
<P> <FONT COLOR="#ff0000"><B>15:19:58 Alan Leung: </B></FONT> hmm.. seems like your code patch \n to it ? </P>
<P> <FONT COLOR="#0000ff"><B>15:20:08 int main: </B></FONT> Yup </P>
<P> <FONT COLOR="#0000ff"><B>15:20:17 int main: </B></FONT> I could remove it, no prob </P>
<P> <FONT COLOR="#ff0000"><B>15:20:24 Alan Leung: </B></FONT> cool </P>
<P> <FONT COLOR="#ff0000"><B>15:20:37 Alan Leung: </B></FONT> tell me what u changed.. I just chage the src </P>
<P> <FONT COLOR="#0000ff"><B>15:23:37 int main: </B></FONT> At the end
<i>
  res[j++]='\n';
  res[j]=0;
  memBufAppend(mb,res,j);
</i>
just comment out <i>res[j++]='\n';</i>
 </P>
<P> <FONT COLOR="#0000ff"><B>15:23:53 int main: </B></FONT> file src/access_log.c </P>
<P> <FONT COLOR="#ff0000"><B>15:24:17 Alan Leung: </B></FONT> ok </P>
<P> <FONT COLOR="#ff0000"><B>15:35:57 Alan Leung: </B></FONT> hey.. do you think 35G is enough for you guy process log and reports ? </P>
<P> <FONT COLOR="#ff0000"><B>15:36:06 Alan Leung: </B></FONT> since the 350G is for storing logs </P>
<P> <FONT COLOR="#0000ff"><B>15:39:12 int main: </B></FONT> Yup </P>
<P> <FONT COLOR="#ff0000"><B>15:43:09 Alan Leung: </B></FONT> ok.. cool </P>
